package com.zyx.thread2;

public class Test01 {
    public static void main(String[] args) {
        Bank bank = new Bank();
        Client u1 = new Client("张三", bank, 7);
        Client u2 = new Client("张4", bank, 6);
        Client u3 = new Client("张5", bank, 10);
        Client1 u4 = new Client1("Tom", bank);
        Client1 u5 = new Client1("toty", bank);
        u1.start();
        u2.start();
        u3.start();
        u4.start();
        u5.start();
    }
}
